﻿HmJS.$Import('base.element.selectimportoptions');
//HmJS.$Import('core.domready');

HmJS.register('demo.module.base.element.selectimportoptions', function ($ns) {
	var that = {};

	that.todo = function () {
		var data = {
			'value1': 'text desc 1',
			'valeu2': 'text desc 2',
			'value3': {
				'selected': 'selected',
				'rel': 'addRel3',
				'value': 'CustomValue3SkipIndex',
				'text': 'Text3',
				'id': 'optId3'
			},
			'value4': 'text desc 4'

		}

		$('selA').importOptions(data);
	};

	return that;
});
